<?php //phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
 * SEOPress PRO WooCommerce section.
 *
 * @package SEOPress PRO
 * @subpackage Settings
 */

defined( 'ABSPATH' ) || exit( 'Please don&rsquo;t call the plugin directly. Thanks :)' );

// WooCommerce SECTION.
add_settings_section(
	'seopress_setting_section_woocommerce', // ID.
	'',
	// __("WooCommerce","wp-seopress-pro"), // Title.
	'seopress_print_section_info_woocommerce', // Callback.
	'seopress-settings-admin-woocommerce' // Page.
);

add_settings_field(
	'seopress_woocommerce_cart_page_no_index', // ID.
	__( 'Cart page', 'wp-seopress-pro' ), // Title.
	'seopress_woocommerce_cart_page_no_index_callback', // Callback.
	'seopress-settings-admin-woocommerce', // Page.
	'seopress_setting_section_woocommerce' // Section.
);

add_settings_field(
	'seopress_woocommerce_checkout_page_no_index', // ID.
	__( 'Checkout page', 'wp-seopress-pro' ), // Title.
	'seopress_woocommerce_checkout_page_no_index_callback', // Callback.
	'seopress-settings-admin-woocommerce', // Page.
	'seopress_setting_section_woocommerce' // Section.
);

add_settings_field(
	'seopress_woocommerce_customer_account_page_no_index', // ID.
	__( 'Customer account pages', 'wp-seopress-pro' ), // Title.
	'seopress_woocommerce_customer_account_page_no_index_callback', // Callback.
	'seopress-settings-admin-woocommerce', // Page.
	'seopress_setting_section_woocommerce' // Section.
);

add_settings_field(
	'seopress_woocommerce_product_og_price', // ID.
	__( 'OG Price', 'wp-seopress-pro' ), // Title.
	'seopress_woocommerce_product_og_price_callback', // Callback.
	'seopress-settings-admin-woocommerce', // Page.
	'seopress_setting_section_woocommerce' // Section.
);

add_settings_field(
	'seopress_woocommerce_product_og_currency', // ID.
	__( 'OG Currency', 'wp-seopress-pro' ), // Title.
	'seopress_woocommerce_product_og_currency_callback', // Callback.
	'seopress-settings-admin-woocommerce', // Page.
	'seopress_setting_section_woocommerce' // Section.
);

add_settings_field(
	'seopress_woocommerce_meta_generator', // ID.
	__( 'Remove WooCommerce generator tag in your head', 'wp-seopress-pro' ), // Title.
	'seopress_woocommerce_meta_generator_callback', // Callback.
	'seopress-settings-admin-woocommerce', // Page.
	'seopress_setting_section_woocommerce' // Section.
);

add_settings_field(
	'seopress_woocommerce_schema_output', // ID.
	__( 'Remove WooCommerce Schemas', 'wp-seopress-pro' ), // Title.
	'seopress_woocommerce_schema_output_callback', // Callback.
	'seopress-settings-admin-woocommerce', // Page.
	'seopress_setting_section_woocommerce' // Section.
);

add_settings_field(
	'seopress_woocommerce_schema_breadcrumbs_output', // ID.
	__( 'Remove WooCommerce breadcrumbs schemas only', 'wp-seopress-pro' ), // Title.
	'seopress_woocommerce_schema_breadcrumbs_output_callback', // Callback.
	'seopress-settings-admin-woocommerce', // Page.
	'seopress_setting_section_woocommerce' // Section.
);
